The Database API > Database API functions > MMDB.getUserName()

 

MMDB.getUserName()

Availability

Dreamweaver UltraDev 1.0

Description

Returns a user name for the specified connection.

Arguments

connName

connName is an UltraDev connection name as specified in the Connection Manager. It is used to make a database connection to a live data source.

Returns

A user name string associated with the connection name.

Example

The statement MMDB.getUserName ("EmpDB"); might return "amit".